package com.letv.android.client.view.halfrelate;

import java.io.Serializable;
import java.util.ArrayList;

import com.letv.core.bean.LetvBaseBean;

public class VideoPlayer implements LetvBaseBean {

	private static final long serialVersionUID = 1L;

	private long id;// 视频ID vid
	
	private long pid;
	
	private int cid;

	private String nameCn; // 视频标题

	private String subTitle;
	
	private String singer;
	
	private String guest;
	
	private int type;	

	private long btime;

	private long etime;

	private long duration;

	private String mid;
	
	private String episode;
	
	/**
	 * 在专辑顺序 专辑列表里的视频信息
	 * */
	private String porder;
	
	private int pay;
	
	private int download = 1;
	
	private String pic;		// 120 * 90

	private String pic300;	// 200 * 150

	private String pic320;	//320 * 200

	private int play = 1;
	
	private int jump;
	
	private String jumpLink;
	
	private String brList;
	
	private String videoTypeKey = "";
	
	/*
	 * 视频类型 0001 正片 0002 预告片 视频类型(参考[视频类型]字典)
	 */
	private String videoType;
	
	private String controlAreas;
	
	private int disableType;
	
	private long playCount;
	
	private int at;
	
	private ArrayList<WatchingFocusItem> WatchingFocusList;	
	
	/*
	 * Additional added by bisiness logic
	 */
	private String createYear;
	
	private String createMonth;
	
	/*
	 * recData: [
		{
		vid: "22720606",
		pid: "10007245",
		type: "3",
		title: "“大嘴巴”邓超说漏嘴 郑恺恋情疑似曝光",
		pidname: "《新娱乐在线》2015年",
		subname: "",
		picHT: "http://i1.letvimg.com/lc03_yunzhuanma/201505/09/22/03/754ee3b598aeb7eec2c8879ca3446d2f_30557251/thumb/2_400_300.jpg",
		picST: "http://i1.letvimg.com/lc03_yunzhuanma/201505/09/22/03/754ee3b598aeb7eec2c8879ca3446d2f_30557251/thumb/2_150_200.jpg",
		pic320*200: "http://i1.letvimg.com/lc03_yunzhuanma/201505/09/22/03/754ee3b598aeb7eec2c8879ca3446d2f_30557251/thumb/2_320_200.jpg",
		episode: "0",
		nowEpisodes: "0",
		isEnd: "0",
		jump: "0",
		pay: "0",
		director: "",
		starring: "",
		singer: "",
		score: "",
		cid: "3",
		duration: "152",
		reid: "bfc1c89e64e52058aaccba01200b5341",
		bucket: "bkt_0005",
		area: "rec_0021",
		playCount: "410"
		},
	 * 相关中猜你喜欢recdata数据拓展
	 */	
	private String title;
	private String pidname;
	private String subname;
	private String picHT;
	private String picST;
	private String pic320_200;
	private String nowEpisodes;
	private String director;
	private String starring;	
	private String score;
	private String reid;
	private String bucket;
	private String area;
	
	private String releaseDate;
	private String style;
	private String subCategory;	
	private String cornerMark;
	
	public String getCornerMark() {
		return cornerMark;
	}

	public void setCornerMark(String cornerMark) {
		this.cornerMark = cornerMark;
	}

	public String getSubCategory() {
		return subCategory;
	}

	public void setSubCategory(String subCategory) {
		this.subCategory = subCategory;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPidname() {
		return pidname;
	}

	public void setPidname(String pidname) {
		this.pidname = pidname;
	}

	public String getSubname() {
		return subname;
	}

	public void setSubname(String subname) {
		this.subname = subname;
	}

	public String getPicHT() {
		return picHT;
	}

	public void setPicHT(String picHT) {
		this.picHT = picHT;
	}

	public String getPicST() {
		return picST;
	}

	public void setPicST(String picST) {
		this.picST = picST;
	}

	public String getPic320_200() {
		return pic320_200;
	}

	public void setPic320_200(String pic320_200) {
		this.pic320_200 = pic320_200;
	}

	public String getNowEpisodes() {
		return nowEpisodes;
	}

	public void setNowEpisodes(String nowEpisodes) {
		this.nowEpisodes = nowEpisodes;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getStarring() {
		return starring;
	}

	public void setStarring(String starring) {
		this.starring = starring;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public String getReid() {
		return reid;
	}

	public void setReid(String reid) {
		this.reid = reid;
	}

	public String getBucket() {
		return bucket;
	}

	public void setBucket(String bucket) {
		this.bucket = bucket;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	//##################################################
	//
	//##################################################
	public VideoPlayer() {
		WatchingFocusList = new ArrayList<WatchingFocusItem>();
	}
	
	public String getCreateYear() {
		return createYear;
	}

	public void setCreateYear(String createYear) {
		this.createYear = createYear;
	}

	public String getCreateMonth() {
		return createMonth;
	}

	public void setCreateMonth(String createMonth) {
		this.createMonth = createMonth;
	}

	public String getPorder() {
		return porder;
	}

	public void setPorder(String porder) {
		this.porder = porder;
	}

	public String getVideoType() {
		return videoType;
	}

	public void setVideoType(String videoType) {
		this.videoType = videoType;
	}
	
	public String getJumpLink() {
		return jumpLink;
	}

	public void setJumpLink(String jumpLink) {
		this.jumpLink = jumpLink;
	}

	public long getPlayCount() {
		return playCount;
	}

	public void setPlayCount(long playCount) {
		this.playCount = playCount;
	}

	// 非正片， 过滤 预告片类型： 180001 正片 180002 预告片 组合：180001,180002
	public String getVideoTypeKey() {
		return videoTypeKey;
	}

	public void setVideoTypeKey(String videoTypeKey) {
		this.videoTypeKey = videoTypeKey;
	}
	
	public ArrayList<WatchingFocusItem> getWatchingFocusList() {
		return WatchingFocusList;
	}

	public void setWatchingFocusList(
			ArrayList<WatchingFocusItem> watchingFocusList) {
		WatchingFocusList = watchingFocusList;
	}

	/**
	 * @return the singer
	 */
	public String getSinger() {
		return singer;
	}

	/**
	 * @param singer
	 *            the singer to set
	 */
	public void setSinger(String singer) {
		this.singer = singer;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getNameCn() {
		return nameCn;
	}

	public void setNameCn(String nameCn) {
		this.nameCn = nameCn;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getPic300() {
        return pic300;
    }

    public void setPic300(String pic300) {
        this.pic300 = pic300;
    }

    public String getPic320() {
        return pic320;
    }

    public void setPic320(String pic320) {
        this.pic320 = pic320;
    }

	public long getBtime() {
		return btime;
	}

	public void setBtime(long btime) {
		this.btime = btime;
	}

	public long getEtime() {
		return etime;
	}

	public void setEtime(long etime) {
		this.etime = etime;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public long getPid() {
		return pid;
	}

	public void setPid(long pid) {
		this.pid = pid;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getAt() {
		return at;
	}

	public void setAt(int at) {
		this.at = at;
	}

	public String getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(String releaseDate) {
		this.releaseDate = releaseDate;
	}

//    public String getCreateTime() {
//        return createTime;
//    }
//
//    public void setCreateTime(String createTime) {
//        this.createTime = createTime;
//    }

	public long getDuration() {
		return duration;
	}

	public void setDuration(long duration) {
		this.duration = duration;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public int getPlay() {
		return play;
	}

	public void setPlay(int play) {
		this.play = play;
	}

	public boolean canPlay() {
		return this.play == 1;
	}

	public int getJump() {
		return jump;
	}

	public void setJump(int jump) {
		this.jump = jump;
	}

	public int getPay() {
		return pay;
	}

	public void setPay(int pay) {
		this.pay = pay;
	}

	public int getDownload() {
		return download;
	}

	public boolean canDownload() {
		return download == 1;
	}

	public void setDownload(int download) {
		this.download = download;
	}
	
	public String getControlAreas() {
		return controlAreas;
	}

	public void setControlAreas(String controlAreas) {
		this.controlAreas = controlAreas;
	}

	public int getDisableType() {
		return disableType;
	}

	public void setDisableType(int disableType) {
		this.disableType = disableType;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	
	public String getBrList() {
		return brList;
	}

	public void setBrList(String brList) {
		this.brList = brList;
	}

	public String getEpisode() {
		return episode;
	}

	public void setEpisode(String episode) {
		this.episode = episode;
	}

	public boolean needJump() {
		return jump == 1;
	}

	public boolean needPay() {
		return pay == 1;
	}

	public String getGuest() {
		return guest;
	}

	public void setGuest(String guest) {
		this.guest = guest;
	}

	/**
	 * 看点对象
	 */
	public static class WatchingFocusItem implements Serializable{
		/**
		 * desc: "男妇产科医生讲述看病尴尬瞬间" id: 2 pic: "调用云转码截图超时，获取不到此看点截图，请刷新重试" time:
		 * "00:15:57"
		 */
		/**
		 * 看点描述
		 */
		private String desc;
		/**
		 * 看点ID
		 */
		private int id;
		/**
		 * 看点图片地址
		 */
		private String picUrl;
		/**
		 * 看点时间
		 */
		private String timeDot;

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public String getPicUrl() {
			return picUrl;
		}

		public void setPicUrl(String picUrl) {
			this.picUrl = picUrl;
		}

		public String getTimeDot() {
			return timeDot;
		}

		public void setTimeDot(String timeDot) {
			this.timeDot = timeDot;
		}
	}

	private boolean isHaveSurrVideo = false;// just for 周边视频

	public boolean isHaveSurrVideo() {
		return isHaveSurrVideo;
	}

	public void setHaveSurrVideo(boolean isHaveSurrVideo) {
		this.isHaveSurrVideo = isHaveSurrVideo;
	}

//	private SurroundVideoMetaDataPlayerLibs surroundVideoMetaData;// just for
//																	// 周边视频
//
//	public SurroundVideoMetaDataPlayerLibs getSurroundVideoMetaData() {
//		return surroundVideoMetaData;
//	}
//
//	public void setSurroundVideoMetaData(
//			SurroundVideoMetaDataPlayerLibs surroundVideoMetaData) {
//		this.surroundVideoMetaData = surroundVideoMetaData;
//	}
}
